package com.bwda.dsrs.filecenter.domain.form.clipboardcontrol;

import javax.validation.constraints.NotNull;
import java.math.BigDecimal;

import com.bwda.dsrs.base.util.DateUtil;
import org.springframework.format.annotation.DateTimeFormat;
import java.util.Date;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 *
 *
 * @author system
 * @date 2019/4/17
 */
@Data
@ApiModel(description = "剪切板监控")
public class ClipboardControlUpdateForm {

	@ApiModelProperty(value = "ID", required = true)
	@NotNull(message = "ID不能为空")
	private Integer id;

	@ApiModelProperty(value = "用户编码")
	private String userCode;

	@ApiModelProperty(value = "操作时间,格式为:" + DateUtil.FORMAT)
	@DateTimeFormat(pattern = DateUtil.FORMAT)
	private Date operateTime;

	@ApiModelProperty(value = "类型： 0:复制  1：粘贴")
	private Integer clipboardType;

	@ApiModelProperty(value = "操作对象")
	private String clipboardTarget;

	@ApiModelProperty(value = "内容")
	private String content;

	@ApiModelProperty(value = "内容2（冗余字段）")
	private String content2;

	@ApiModelProperty(value = "内容3（冗余字段）")
	private String content3;

	@ApiModelProperty(value = "创建人")
	private String createUserCode;

	@ApiModelProperty(value = "创建时间,格式为:" + DateUtil.FORMAT)
	@DateTimeFormat(pattern = DateUtil.FORMAT)
	private Date createDate;

	@ApiModelProperty(value = "更新人")
	private String updateUserCode;

	@ApiModelProperty(value = "更新时间,格式为:" + DateUtil.FORMAT)
	@DateTimeFormat(pattern = DateUtil.FORMAT)
	private Date updateDate;

}